package com.qf.java2106.huangshengrui.hotel.dao;

import com.qf.java2106.huangshengrui.hotel.pojos.Table;

import java.sql.SQLException;
import java.util.List;

/**
 * @author q
 * @version V1.0
 * @date 2021/10/30
 **/
public interface ITableDao {

    /**
     * 查所有餐桌
     */
    List<Table> findAllTable() throws SQLException;

    /**
     * 按条件查餐桌
     * @param keyword
     * @return
     */
    List<Table> findTableLikeKey(String keyword) throws SQLException;
}
